<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<link rel="stylesheet" type="text/css" href="/css/cooperation.css"/>
<script src="/js/seminar.js"></script>
<script type="text/javascript" src="/js/channel.js"></script>

<s:set name="fileName" value="%{channelInfoDetail.fileName}"/>

<form name="channel_mod_form" method="post" action="/channel/channelModify.desk" enctype="multipart/form-data">
<input type="hidden" id="channelSeq" name="channelSeq" value="<s:property value="channelSeq"/>"/>
<input type="hidden" id="pageNumber" name="pageNumber" value="<s:property value="pageNumber"/>"/>
<input type="hidden" id="deskCode" name="deskCode" value="<s:property value="deskCode"/>"/>
<input type="hidden" id="fileName" name="fileName" value="<s:property value="#fileName"/>"/>
<input type="hidden" id="fileSeq" name="fileSeq" value="<s:property value="%{channelInfoDetail.fileSeq}"/>"/>
<dl class="Right_Contents_area">
        <dd class="Center_Top_title"> <span class="top_title"><img src="/images/report/cooperation/SubContents_Tit_01.gif" width="370" height="42" alt="협력채널 구축 실적" /></span> <span class="top_navi">HOME > 업무보고 > 협력채널 구축 실적</span></dd>
        <dd>&nbsp;</dd>
		<dd class="Right_Contents_SearchDate">마지막 수정일 : <span class="TEXT_Red_Bold"><s:property value="%{channelInfoDetail.modTime}"/></span></dd>
        <dd class="Center_Top_contents">
          <div id="LIst_Zone">
            <dl>
              <dd>
              <table class="Writeboard" border="1" cellspacing="0" summary="글 내용을 표시">
                <caption> 글 읽기</caption>
                <colgroup><col width="145px"><col width="245px"><col width="93px"><col width="240px"></colgroup>
                <tbody>
                  <tr>
                    <th scope="row" class="Top_line"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />개최일자 <span class="TEXT_Red_Bold">*</span></th>
                    <td class="Top_line" colspan="3"><input type="text" name="channelDate" id="datepicker1" style="width:150px;" value="<s:property value="%{channelInfoDetail.modTime}"/>"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />목&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;적 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><input type="text" name="channelTitle" maxlength="50" style="width:540px;" value="<s:property value="%{channelInfoDetail.channelTitle}"/>"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />주&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;최</th>
                    <td colspan="3"><input type="text" name="channelHost" maxlength="30" style="width:540px;" value="<s:property value="%{channelInfoDetail.channelHost}"/>"/></td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />주&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;관</th>
                    <td colspan="3"><input type="text" name="channelSupervise" maxlength="30" style="width:540px;" value="<s:property value="%{channelInfoDetail.channelSupervise}"/>"/></td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />장&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;소 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><input type="text" name="channelPlace" maxlength="30" style="width:540px;" value="<s:property value="%{channelInfoDetail.channelPlace}"/>"/></td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />참&nbsp;석&nbsp;자</th>
                    <td colspan="3"><input type="text" name="attendCount" maxlength="10" style="width:240px;" value="<s:property value="%{channelInfoDetail.attendCount}"/>"/> 명</td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />참여기업/기관</th>
                    <td colspan="3"><textarea name="attendCompany" cols="90" rows="5"><s:property value="%{channelInfoDetail.attendCompany}"/></textarea></td>
                  </tr>                   
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />주요 논의사항 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><textarea name="discussIssue" cols="90" rows="5"><s:property value="%{channelInfoDetail.discussIssue}"/></textarea></td>
                  </tr>                   
                  <tr>
                    <th scope="row"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />향후계획</th>
                    <td colspan="3"><textarea name="futurePlan" cols="90" rows="5"><s:property value="%{channelInfoDetail.futurePlan}"/></textarea></td>
                  </tr>   
                  <tr>
                    <th scope="row" rowspan="2"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />참여기관 대상자</th>
                    <td colspan="3"><textarea name="attendSubject" cols="90" rows="5"><s:property value="%{channelInfoDetail.attendSubject}"/></textarea></td>
                  </tr>   
                  <tr>
                    <td colspan="3"><span class="TEXT_Blue">(기관명 | 부서명 | 직급 | 이름 | 연락처 | 이메일 을 나열하여 작성해주세요.)</span></td>
                  </tr>                                                     
                  <tr>
                    <th scope="row" rowspan="2" class="Bottom_line"><img src="/images/report/cooperation/board_Icon_dot.gif" width="15" height="12" alt="" />첨부파일</th>
                    <td colspan="3" class="none_line">
                    	<c:if test="${!empty fileName}">
                    	<s:url id="download" namespace="/common" action="fileDownload.desk" includeParams="none">
                       		<s:param name="fileName"><s:property value="channelInfoDetail.fileName"/></s:param>
                       		<s:param name="filePath"><s:property value="channelInfoDetail.pathName"/></s:param>
                       	</s:url>
                       		<s:a href="%{download}" title="file"><s:property value="%{channelInfoDetail.fileName}" escape="false"/></s:a>
                       		<span class="Icon_del">
                       			<a href="#"><img src="/images/report/promote/board_Icon_del.gif" alt="" width="12" height="15" border="0" align="absmiddle" id="channelFileDel"/></a>
                       		</span>
                    	</c:if>
                    	<c:if test="${empty fileName}">
                    	<input type="file" name="upload" style="width:465px;"/>
                    	<s:fielderror cssClass="errorMessage">
	       	 				<s:param value="%{'upload'}" /> 
	   					</s:fielderror>
	   					</c:if>
                    </td>
                  </tr>
                  <tr>
                    <td colspan="3" class="Bottom_line"><span class="TEXT_Blue">(최대 40MB)</span></td>
                  </tr>
                </tbody>
              </table> 
              </dd>
            </dl> 
            <dl class="List_Btn_area"><!-- 버튼 부분 -->
             <dd class="Left_Zone"><a href="/channel/channelList.desk?pageNumber=<s:property value="pageNumber"/>"><img src="/images/notice/btn_list.gif" alt="목록" width="52" height="26" border="0" /></a></dd>            
             <dd class="Right_Zone"><img src="/images/report/cooperation/btn_edit.gif" id="btn_channel_edit" width="163" height="26" alt="협력채널 구축 실적 등록" style="cursor:pointer;"/></dd>
            </dl><!-- 버튼 부분 -->           
          </div>
        </dd>
      </dl>
      <!-- 오른쪽 내용 끝 --> 
    </div>
  </div>
 </form>
  <!-- center 나누어 지는 부분 끝 --> 
</div>
